package com.kancy.demo.streamplus;

import com.kancy.demo.streamplus.channel.BusinessChannel;
import com.kancy.demo.streamplus.channel.FiveSecondsChannel;
import com.kancy.streamplus.channel.PollingChannel;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * DemoStreamplusApplication
 *
 * @author kancy
 * @date 2020/3/22 18:47
 */
@EnableBinding({BusinessChannel.class, PollingChannel.class, FiveSecondsChannel.class})
@SpringBootApplication
public class DemoStreamplusApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoStreamplusApplication.class, args);
    }

}